/* 
 * File:   CrearDirectorioTest.cpp
 * Author: nahuel
 *
 * Created on Jun 4, 2013, 8:24:46 PM
 */

#include <stdlib.h>
#include <iostream>
#include "common_FileUtils.h"

/*
 * Simple C++ Test Suite
 */

using namespace TP::Archivos;

void testCrearDirectorio() {
    // Definir un path valido localmente
    const std::string path("/home/nahuel/Desktop/CrearDirectorioTest");    
    FileUtils fileUtils;    
    bool result = fileUtils.CrearDirectorio(path);
    
    if (!result) {
        std::cout << "%TEST_FAILED% time=0 testname=testCrearDirectorio (CrearDirectorioTest) message=error message sample" << std::endl;
    }
}

int main(int argc, char** argv) {
    std::cout << "%SUITE_STARTING% CrearDirectorioTest" << std::endl;
    std::cout << "%SUITE_STARTED%" << std::endl;

    std::cout << "%TEST_STARTED% testCrearDirectorio (CrearDirectorioTest)" << std::endl;
    testCrearDirectorio();
    std::cout << "%TEST_FINISHED% time=0 testCrearDirectorio (CrearDirectorioTest)" << std::endl;

    std::cout << "%SUITE_FINISHED% time=0" << std::endl;

    return (EXIT_SUCCESS);
}

